/* import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(<div>hello</div>,document.getElementById('root')); */

function readonly(target,key,discriptor){
    console.log(discriptor)
   discriptor.writable =false;//discriptor enumerable writable configurable
}
class Person{
    @readonly PI = 3.14;
}
let p = new Person();
p.PI = 3.15;
console.log(p.PI)
